package com.worldcup.service.question.impl;

import com.worldcup.dao.relation.UserFriendMapper;
import com.worldcup.service.question.UserFriendService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author duwan.zq
 * @date 2019/04/25
 */
@Slf4j
@Service
public class UserFriendServiceImpl implements UserFriendService{

    @Autowired
    private UserFriendMapper userFriendMapper;

    @Override
    public List<String> getFriendIds(String openid) {
        return userFriendMapper.selectByOpenid(openid);
    }
}
